#ifndef DONORTYPE_H
#define DONORTYPE_H

#include "MemberType.h"

#include "string"

class DonorType: public MemberType {
public:
    DonorType() : donationAmount(0) {}
    DonorType(
            const string &firstName,
            const string &lastName,
            int membershipNumber,
            double donationAmount)
    : MemberType(firstName, lastName, membershipNumber) {
        (*this).donationAmount = donationAmount;
    }

    void setDonorInfo(
            const string &firstName,
            const string &lastName,
            int membershipNumber,
            double donationAmount);
    void setAmountDonated(double donationAmount);

    double getAmountDonated() const;

    void printDonor() const;
    void printDonation() const;

    ~DonorType() {}

    bool operator<(const DonorType &anotherDonorList) const;
    bool operator==(int anotherDonorId) const;

private:
    double donationAmount;
};

#endif